package top.huanyv.rpc.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
public @interface Provider {
    Class<?> interfaceClass();

    /**
     * 服务名称
     *
     * @return {@link String}
     */
    String value() default "";
}
